# -*- coding: utf-8 -*-
# @Time    : 2020/12/28 14:46
# @Author  : ZSQ
# @Email   : zsq199170918@163.com
# @FileName: main.py
# @Software: PyCharm

from scrapy import cmdline
import os

if __name__ == '__main__':
    # cmdline.execute(r'scrapy crawl fangduoduo -a crawl=重庆，北京'.split())
    # cmdline.execute(r'scrapy crawl anjuke -a crawl=重庆'.split())
    # os.system(r'start chrome.exe --remote-debugging-port=5247 --user-data-dir="F:\zsq\selenium\AutomationProfile"')
    # cmdline.execute(r'scrapy crawl anjuke_loupan -a crawl=烟台'.split())
    cmdline.execute(r'scrapy crawl anjuke_building -a crawl=重庆'.split())
    # cmdline.execute(r'scrapy crawl beike_cj -a crawl=重庆'.split())
    # cmdline.execute(r'scrapy crawl fangtianxia -a crawl=重庆'.split())
    # cmdline.execute(r'scrapy crawl fangtianxia_cookie'.split())
    # cmdline.execute(r'scrapy crawl aiwulong'.split())
    # cmdline.execute(r'scrapy crawl tmsf'.split())
    # cmdline.execute(r'scrapy crawl tmsf_cookie'.split())
